package com.sgj.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 沈国纪
 * @date 2021/3/16 9:27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {

    /**
     * 主键
     */
    private int id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 老师
     */
    private Teacher teacher;
}